/**
 * Created by Administrator on 2016/3/16.
 */
'use strict';

//symbol 创建两个不一样的值
let getName = Symbol('name');


var obj = {
  [getName](){
      return 'xiao shen'
  }
};

console.log(obj[getName]);